package com.xuanwei.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2019-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class XwBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 图片链接
     */
    private String imageUrl;

    /**
     * 跳转地址
     */
    private String linkUrl;

    /**
     * 0显示,1不显示
     */
    private Integer showStatus;

    /**
     * 正常0,删除1
     */
    @TableLogic
    private Integer deleteFlag;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;


}
